﻿  <!-- Main layout -->
  <table class="wrapper-table" border="0" cellpadding="0" cellspacing="0">
  
    <!-- HEADER -->
    <tr class="header-tr height-1px">
      <td>
        <div class="menu allign-right">
          <a id="login-btn" class="link-menu-item jui-btn"  href="/cabinet"><span>Личный кабинет</span></a>
<?php if (IsSessionStarted()){ ?>
          <a id="login-btn" class="link-menu-item jui-btn"  href="<?php echo $_SERVER['REQUEST_URI'] , "?logout"; ?>"><span>Выход</span></a>
<?php } ?>
        </div>
        <div class="menu allign-left">
          <a class="link-menu-item jui-btn" href="/"><span>Главная</span></a>
          <a class="link-menu-item jui-btn" href="/registration"><span>Партнерство</span></a>
          <a class="link-menu-item jui-btn" href="/contacts"><span>Контакты</span></a>
          <a class="link-menu-item jui-btn" href="/show_requests.php" target="_blank"><span>Все запросы</span></a>
        </div>
        <div class="menu2 allign-right">
          <a id="why-we" class="link" href="#">Почему мы?</a>
        </div>
      </td>
    </tr>